package com.dgut.healthreportmanage.mapper;

import com.dgut.healthreportmanage.pojo.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminMapper {
    Admin getAdminByName(String adminName);
    List<Admin> getAllAdmins();
    int update(@Param("admin") Admin admin);
    int freeze(int adminId);
    int delete(int adminId);
}
